package Damode1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-04-26
 * Time: 21:49
 */
class Simulator {
   public void playSound(Animal animal){
       System.out.print(animal.getAnimalName()+" 发出了 ");
       animal.cry();
   }
}
